Initializes a new instance of the BarcodeData class with specified symbology and data.
public BarcodeData(
BarcodeSymbology symbology,
byte[] data
)
Public Function New( _
ByVal symbology As Leadtools.Barcode.BarcodeSymbology, _
ByVal data() As Byte _
)
public BarcodeData(
Leadtools.Barcode.BarcodeSymbology symbology,
byte[] data
)
function BarcodeData(
symbology ,
data
)
public:
BarcodeData(
Leadtools.Barcode.BarcodeSymbology symbology,
array<byte>^ data
)
symbology
Barcode symbology to use.
data
An array of Byte that specifies the data to use. This value can be null (Nothing in VB).
This constructor initializes the BarcodeData member as follows:
Member | Value |
---|---|
Symbology | symbology |
Bounds | LogicalRectangle.Empty |
RotationAngle | 0 |
BarWidthReduction | 0 |
Byte array inside GetData | data (same reference, the data is not copied) |
Value | ASCII text string representation of data, if this parameter is null, then Value is null too. |
Tag | null (Nothing in Visual Basic) |
To quickly construct a new BarcodeData object with a specific symbology and data as a string value, use BarcodeData(BarcodeSymbology symbology, string value) to construct a default BarcodeData, use BarcodeData().
To create an instance of BarcodeData suitable for writing for a specified symbology, use CreateDefaultBarcodeData.
This example creates a BarcodeData using specified symbology and raw data. Then it writes it to an image.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.